<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>{%block title%}AtoZ-Help{%endblock%}</title>
	<meta name="description" content="{{app.description}}" />
	<meta name="keywords" content="{{app.keywords}}" />
	{% block style %}
		<link rel="stylesheet" type="text/css" media="screen" href="/static/css/common.css" />
  	{% endblock %}
  	{% block head %}{% endblock %}
</head>
<body>
	<div class="header-wrap">
		<h1 class="logo-text"><a href="/" title="">{{app.name}}</a></h1>
		<div class="searchformwrapper">
			<form action="/search" method="get">
				<input type="text" name="q" size="50">
				<input type="submit" value="Search Help">
			</form>
		</div>
		<div  class="navbar">
			<ul>
				<li><a href='/admin/' title='AtoZ Home'>AtoZ Admin View</a></li>
				<li><a href='http://atoz-help.googlecode.com' title='AtoZ Repository'>Repository</a></li>
				{% if logout_url %}
				<li><a href='{{logout_url}}' title='Logout'>Logout</a></li>
				{% endif %}
        		{% block menu %}{% endblock %}
			</ul>
		</div>
	</div>
	<div class='body-wrap'>
		<div class='sidebar'>
			{% block sidebar %}{%endblock %}
			{{ sidebar }}
		</div>
		<div class='content-wrap'>
			<div class='breadcrumb'> <a href='/'>Home</a>
			{% for bc in breadcrumb reversed %}
				{% if bc.name %}
					{% if forloop.last %}
					&gt; <b>{{ bc.name}}</b>
					{% else %}
					&gt; <a href='/topic?k={{bc.key}}'>{{ bc.name}}</a>
					{% endif %}
				{% endif %}
			{% endfor %}
			</div>
			<div class='content'>{{ content }}</div>
		</div>
	</div>
	<div class='footer-wrap'>
		<div class="foot">
			<ul>
				<li>&copy; {% now "Y" %} <a href='{{person.twitter}}'>{{person.name}}</a></li>
				<li><a href="http://www.opensource.org">Open Source Software</a></li>
				<li>Powered by <a href="http://code.google.com/appengine">Google AppEngine</a></li>
				<li>Licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.txt">GNU General Public License v3.0</a></li>
			</ul>
		</div>
	</div>
</body>